<!DOCTYPE html>
<html>
<head>
<title>在岗人员列表</title>
<#include "/header.html">
</head>
<body>
<div id="rrapp">
	<div class="grid-btn">
		<div class="form-group col-sm-2">
			<input type="text" class="form-control" v-model="q.empName" @keyup.enter="query" placeholder="员工名">
		</div>
		<a class="btn btn-default" @click="query">查询</a>
		<a class="btn btn-primary" @click="removeEmp">减少</a>
		<template>
		<el-drawer
				title="选择原因"
				:before-close="handleCloseDrawer"
				:visible.sync="dialog"
				direction="rtl"
				custom-class="demo-drawer"
				ref="drawer">
			<div class="demo-drawer__content">
				<el-form class="form-horizontal" label-width="60px">
					<el-form-item label="原因">
								<el-select v-model="emp.status" placeholder="请选择">
									<el-option
											v-for="item in status"
											:key="item.value"
											:label="item.label"
											:value="item.value">
									</el-option>
								</el-select>
					</el-form-item>
					<el-form-item label="备注">
							<el-input type="textarea" v-model="emp.remarks"></el-input>
					</el-form-item>
					<el-form-item >
						<el-button @click="cancelForm">取 消</el-button>
						<el-button type="primary" @click="changeStatus" >确 定</el-button>
					</el-form-item>
				</el-form>
			</div>
		</el-drawer>
		</template>
		&nbsp;&nbsp;<input type="button" class="btn btn-warning" @click="back" value="返回"/>
	</div>
    <table id="jqGrid"></table>
    <div id="jqGridPager"></div>
</div>

<script src="${request.contextPath}/statics/js/modules/function/emp_remove_show.js?_${.now?long}"></script>
</body>
</html>